using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
namespace DataTransferObject
{
    [Serializable()]
    public class clsThanhVien
    {
        private int _MaThanhVien;
        private string _TenThanhVien;
        private string _MatKhau;
        private string _Email;
        private int _QuyenHan;
        private int _SoBaiViet;
        private DateTime _NgayKhoiTao;
        private DateTime _LanDangNhapGanDay;

        public clsThanhVien()
        {

        }
        public clsThanhVien(int MaThanhVien, string TenThanhVien, string MatKhau, string Email, int QuyenHan, DateTime d1, DateTime d2, int SoBaiViet)
        {
            _MaThanhVien = MaThanhVien;
            _TenThanhVien = TenThanhVien;
            _MatKhau = MatKhau;
            _Email = Email;
            _QuyenHan = QuyenHan;
            _NgayKhoiTao = d1;
            _LanDangNhapGanDay = d2;
            _SoBaiViet = SoBaiViet;
            
        }

        public int MaThanhVien
        {
            get
            {
                return _MaThanhVien;
            }
            set
            {
                _MaThanhVien = value;
            }
        }

        public string TenThanhVien
        {
            get
            {
                return _TenThanhVien;
            }
            set
            {
                _TenThanhVien = value;
            }
        }

        public string MatKhau
        {
            get
            {
                return _MatKhau;
            }
            set
            {
                _MatKhau = value;
            }
        }

        public string Email
        {
            get
            {
                return _Email;
            }
            set
            {
                _Email = value;
            }
        }

        public int QuyenHan
        {
            get
            {
                return _QuyenHan;
            }
            set
            {
                _QuyenHan = value;
            }
        }
        public DateTime NgayKhoiTao
        {
            get { return _NgayKhoiTao;}
            set { _NgayKhoiTao = value; }
        }
        public DateTime LanDangNhapGanDay
        {
            get { return _LanDangNhapGanDay; }
            set { _LanDangNhapGanDay = value; }
        }

        public int SoBaiViet
        {
            get
            {
                return _SoBaiViet;
            }
            set
            {
                _SoBaiViet = value;
            }
        }

    }
}
